package com.limingru.newbee.util;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@NoArgsConstructor
public class PageResult {
    @ApiModelProperty("总页数")
    private int totalPages;

    @ApiModelProperty("总数")
    private int totalCounts;

    @ApiModelProperty("当前第几页")
    private int pageNumber;

    @ApiModelProperty("每页记录数")
    private int pageSize;

    @ApiModelProperty("列表数据")
    private List<?> list;
}
